  
    <div id="leftColumnside">
        <div class="secureContent">
	<img alt="" src="<?=base_url();?>images/icon-next.png" align="absmiddle"/><a href="#">Komoditi</a>
    <img src="<?=base_url();?>images/icon-next.png" align="absmiddle"/><a href="#">Komoditi Resi</a>
	<hr width="100%" />
    <h3>Pencarian Komoditi</h3>
    <div class="box" align="center">
          Kategori :
          <select name="kategori">
                  <option value="0">-Pilih Kategori Komoditas-</option>
          <?php
                    foreach($category as $cat)
                    {
                            echo "<option value=".$cat['CategoryId'].">".$cat['CategoryName']."</option>";
                    }
          ?>
          </select>
      Komoditas : <select name="komoditas">
      <option>-Pilih Komoditas-</option>
      </select>
      Jenis : <select name="jenis">
      <option>-Pilih Jenis Komoditas-</option>
      </select>
      <input type="button" value="Cari"/>
	</div><br />
        <h3>Daftar Komoditi</h3><br>
        <table width="100%" border="1" cellpadding="4">
      	<tr align="center">
            <th width="20">No</th>
            <th width="80">Kategori</th>
            <th width="80">Komoditi</th>
            <th width="80">Jenis Komoditi</th>
            <th width="80">Nomor Resi</th>
            <th width="80">Lokasi</th>
            <th width="80">Kuantitas</th>
            <th width="50">Satuan</th>
            <th width="100">Aksi</th>
       </tr>
       <?php
                            $index=1;
                            foreach($commodity as $com)
                            {

                                    echo "<tr>
                                            <td>".$index++."</td>
                                            <td>".$com['CategoryName']."</td>
                                            <td>".$com['CommodityName']."</td>
                                            <td>".$com['CommodityTypeName']."</td>
                                            <td>".$com['ReceiptId']."</td>
                                            <td>".$com['RegencyName']."</td>
                                            <td>".$com['Quantity']."</td>
                                            <td>".$com['UOMName']."</td>
                                            <td align='center'><a href='javascript:void(0);'>Detail</a>&nbsp;&nbsp;
                                            <a href='javascript:void(0);'>Edit</a>&nbsp;&nbsp;
                                            <a href='javascript:void(0);'>Hapus</a></td>
                                    </tr>";

                            }

                    ?>
    </table>
        </div>
    </div>
	  
